// 初始化样式
* {
    margin: 0;
    padding: 0;
}

li,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

body {
    width: 100vw;
    margin: 0 auto;
    background-color: #f6f7f8;
}

// 第一部分：nav导航栏
.nav {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    height: 12vw;
    background-color: #019fe6;
    z-index: 999;

    .left {
        position: relative;
        width: 40vw;
        height: 12vw;
        font: normal normal 4.8vw/13.5vw "Microsoft YaHei";
        text-indent: 10vw;
        color: #fff;

        &::before {
            content: "";
            position: absolute;
            top: 4vw;
            left: 2vw;
            width: 6vw;
            height: 6vw;
            background: url(../images/首页icon.png) no-repeat center;
            background-size: contain;
        }
    }

    .right {
        position: absolute;
        top: 2vw;
        right: 5vw;
        width: 24vw;
        height: 8vw;
        border-radius: 4vw;
        background-color: rgba(0, 0, 0, .15);
        font: normal normal 3vw/8vw "Microsoft YaHei";
        text-align: center;
        color: #ddd;

        &::before {
            content: "";
            position: absolute;
            top: 1.5vw;
            left: 3vw;
            width: 5vw;
            height: 5vw;
            background: url(../images/更多icon.png) no-repeat center;
            background-size: contain;
        }

        &::after {
            content: "";
            position: absolute;
            top: 2vw;
            right: 4vw;
            width: 4vw;
            height: 4vw;
            background: url(../images/关闭icon.png) no-repeat center;
            background-size: contain;
        }
    }
}

// 第四部分：主体部分 
.main {
    width: 96vw;
    height: 15vw;
    margin: 15vw auto 10vw;
    border-radius: 2vw;
    background-color: #fff;
    font: normal normal 5vw/15vw "Microsoft YaHei";
    text-indent: 4vw;
    color: #333;

    .title {
        position: relative;
        width: 96vw;
        height: 15vw;

        &::after {
            content: "请输入门店名称";
            position: absolute;
            top: 0vw;
            right: 4vw;
            text-indent: 0vw;
            text-align: center;
            color: #999;
        }
    }
}

// 底部--模块
.footer {
    width: 96vw;
    height: 12vw;
    margin: 0 auto;
    border-radius: 3vw;
    background-color: #019fe6;
    font: normal normal 5.2vw/12vw "Microsoft YaHei";
    text-align: center;
    color: #fff;
}